package com.fsai.cms.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.fsai.cms.base.BaseEntity;

/**
 * 机构处室设置对象 base_org
 * 
 * @author jaffe
 * @date 2021-03-11
 */
public class BaseOrg extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/** 主键ID */
	private Long orgId;

	/** 处室名称 */
	private String orgTitle;

	/** 处室代码 */
	private String orgCode;

	/** 机构类型（数据字典biz_org_type） */
	private String orgType;

	/** 可点击访问（0是 1否） */
	private String enableLink;

	/** 访问地址 */
	private String linkUrl;

	/** 主页图标 */
	private String icon;

	/** 内页图标 */
	private String sicon;

	/** 启用状态（0启用 1关闭） */
	private String status;

	/**
	 * @return the sicon
	 */
	public String getSicon() {
		return sicon;
	}

	/**
	 * @param sicon
	 *            the sicon to set
	 */
	public void setSicon(String sicon) {
		this.sicon = sicon;
	}

	public void setOrgId(Long orgId) {
		this.orgId = orgId;
	}

	public Long getOrgId() {
		return orgId;
	}

	public void setOrgTitle(String orgTitle) {
		this.orgTitle = orgTitle;
	}

	public String getOrgTitle() {
		return orgTitle;
	}

	public void setOrgCode(String orgCode) {
		this.orgCode = orgCode;
	}

	public String getOrgCode() {
		return orgCode;
	}

	public void setOrgType(String orgType) {
		this.orgType = orgType;
	}

	public String getOrgType() {
		return orgType;
	}

	public void setEnableLink(String enableLink) {
		this.enableLink = enableLink;
	}

	public String getEnableLink() {
		return enableLink;
	}

	public void setLinkUrl(String linkUrl) {
		this.linkUrl = linkUrl;
	}

	public String getLinkUrl() {
		return linkUrl;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public String getIcon() {
		return icon;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getStatus() {
		return status;
	}

	@Override
	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("orgId", getOrgId())
				.append("orgTitle", getOrgTitle()).append("orgCode", getOrgCode()).append("orgType", getOrgType())
				.append("enableLink", getEnableLink()).append("linkUrl", getLinkUrl()).append("icon", getIcon())
				.append("status", getStatus()).append("createBy", getCreateBy()).append("createTime", getCreateTime())
				.append("updateBy", getUpdateBy()).append("updateTime", getUpdateTime()).append("remark", getRemark())
				.toString();
	}
}
